public class Test {
    public static void main(String[] args) {
        int a=1;
        a++;//a=2
        System.out.println(a++);
        System.out.println(a);
        int b=1;
        ++b;//b=2
        System.out.println(++b);
        System.out.println(b);
    }
}
